import request from '~/utils/request'

export default {
    createSessionList(fromUserId, toUserId) {
        console.log(fromUserId, toUserId, "bbbbbbbbb");
        return request({
            url: `/reception/session/add/${fromUserId}/${toUserId}`,
            method: 'get'
        })
    },

    getSessionListHistory(userId) {
        return request({
            url: `/reception/session/getHistory/${userId}`,
            method: 'get'
        })
    },

    delSessionList(sessionListId) {
        return request({
            url: `/reception/session/del/${sessionListId}`,
            method: 'delete',
        })
    },

    editSessionListRemark(sessionListId, remark) {
        return request({
            url: `/reception/session/edit/${sessionListId}/${remark}`,
            method: 'get',
        })
    },

    getMsgInfoList(sessionListId) {
        return request({
            url: `/reception/msg/list/${sessionListId}`,
            method: 'get',
        })
    },

}
